<?php


namespace platform\controllers;


use platform\models\User;

class AccountController extends BaseController
{
    public $modelClass = 'platform\models\User';

    public function actions()
    {
        return [];
    }

    public function actionIndex()
    {
        return User::findOne(\Yii::$app->user->id);
    }
}